package com.git.auth.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author huangzhiyu
 * @since 2021-04-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("authority")
public class AuthorityEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 权限id
     */
      @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    /**
     * 权限
     */
    private String authority;


}
